package com.sjgs.gis.service.mapper;


import com.sjgs.gis.domain.*;
import com.sjgs.gis.service.dto.WarDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity {@link War} and its DTO {@link WarDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface WarMapper extends EntityMapper<WarDTO, War> {



    default War fromId(Long id) {
        if (id == null) {
            return null;
        }
        War war = new War();
        war.setId(id);
        return war;
    }
}
